package com.ys.web.entity;
// Generated 2017-3-7 9:21:28 by Hibernate Tools 4.0.0

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 推广平台类型
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "sem_platform_type", catalog = "ysanalyze")
public class SemPlatformType implements java.io.Serializable {

	private Integer id;
	/**推广类型名称（百度，360，神马...）*/
	private String typeName;
	/**推广类型标识*/
	private String typeTag;

	public SemPlatformType() {
	}

	public SemPlatformType(String typeName, String typeTag) {
		this.typeName = typeName;
		this.typeTag = typeTag;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)

	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "type_name", nullable = false, length = 50)
	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	@Column(name = "type_tag", nullable = false, length = 50)
	public String getTypeTag() {
		return this.typeTag;
	}

	public void setTypeTag(String typeTag) {
		this.typeTag = typeTag;
	}

}
